


// 点击账号登录和扫码登录切换像对应的div
let as =document.querySelectorAll(".div-a a")
let divs=document.querySelectorAll(".right-content .identical")
as.forEach(function(v,i){
 v.addEventListener("click",function(){
  for(let x=0;x<divs.length;x++){
   divs[x].classList.remove("show")
//    console.log(divs[x]);
  }
   divs[i].classList.add("show")
   console.log(divs[i]);

 })

})